package com.lee9213.demo.entity;

import com.lee9213.core.base.entity.BaseEntity;

import java.time.LocalDate;


/**
 * @author lee9213@163.com
 * @version 1.0
 * @LocalDate 2017-11-08 21:54
 */
public class UserEntity extends BaseEntity{

    /**
     * 编号
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 归属公司
     *
     * @mbg.generated
     */
    private String companyId;

    /**
     * 归属部门
     *
     * @mbg.generated
     */
    private String officeId;

    /**
     * 登录名
     *
     * @mbg.generated
     */
    private String username;

    /**
     * 密码
     *
     * @mbg.generated
     */
    private String password;

    /**
     * 工号
     *
     * @mbg.generated
     */
    private String no;

    /**
     * 姓名
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 邮箱
     *
     * @mbg.generated
     */
    private String email;

    /**
     * 电话
     *
     * @mbg.generated
     */
    private String phone;

    /**
     * 手机
     *
     * @mbg.generated
     */
    private String mobile;

    /**
     * 用户类型
     *
     * @mbg.generated
     */
    private String userType;

    /**
     * 用户头像
     *
     * @mbg.generated
     */
    private String photo;

    /**
     * 最后登陆IP
     *
     * @mbg.generated
     */
    private String loginIp;

    /**
     * 最后登陆时间
     *
     * @mbg.generated
     */
    private LocalDate loginLocalDate;

    /**
     * 是否可登录
     *
     * @mbg.generated
     */
    private String loginFlag;

    /**
     * 创建者
     *
     * @mbg.generated
     */
    private String createBy;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private LocalDate createLocalDate;

    /**
     * 更新者
     *
     * @mbg.generated
     */
    private String upLocalDateBy;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private LocalDate upLocalDateLocalDate;

    /**
     * 备注信息
     *
     * @mbg.generated
     */
    private String remarks;

    /**
     * 删除标记
     *
     * @mbg.generated
     */
    private String delFlag;

    /**
     * 二维码
     *
     * @mbg.generated
     */
    private String qrcode;

    /**
     * 个性签名
     *
     * @mbg.generated
     */
    private String sign;

    private String deptId;

    private String nickname;

    private String realName;

    private String rocodes;

    private String roleCodes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public LocalDate getLoginLocalDate() {
        return loginLocalDate;
    }

    public void setLoginLocalDate(LocalDate loginLocalDate) {
        this.loginLocalDate = loginLocalDate;
    }

    public String getLoginFlag() {
        return loginFlag;
    }

    public void setLoginFlag(String loginFlag) {
        this.loginFlag = loginFlag;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDate getCreateLocalDate() {
        return createLocalDate;
    }

    public void setCreateLocalDate(LocalDate createLocalDate) {
        this.createLocalDate = createLocalDate;
    }

    public String getUpLocalDateBy() {
        return upLocalDateBy;
    }

    public void setUpLocalDateBy(String upLocalDateBy) {
        this.upLocalDateBy = upLocalDateBy;
    }

    public LocalDate getUpLocalDateLocalDate() {
        return upLocalDateLocalDate;
    }

    public void setUpLocalDateLocalDate(LocalDate upLocalDateLocalDate) {
        this.upLocalDateLocalDate = upLocalDateLocalDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRocodes() {
        return rocodes;
    }

    public void setRocodes(String rocodes) {
        this.rocodes = rocodes;
    }

    public String getRoleCodes() {
        return roleCodes;
    }

    public void setRoleCodes(String roleCodes) {
        this.roleCodes = roleCodes;
    }

    public UserEntity(String name) {
        this.name = name;
    }

    public UserEntity() {
    }
}
